package com.ziyun.erp.common.e.order;


import com.ziyun.erp.common.e.BaseEnum;

/**
 * 发票类型枚举类  'unwanted','personal','companyOrdinary','companySpecial'
 * @author guizhao
 * @date 2017年12月19日 上午9:06:53
 */
public enum TaxTypeEnum implements BaseEnum {
	
	/**
	 * 1.无发票
	 */
	UNWANTED(1,"unwanted","无发票"),
	
	/**
	 * 2.个人发票
	 */
	DEAD(2,"personal","个人发票"),
	
	/**
	 * 3.公司普票
	 */
	FINISH(3,"companyOrdinary","公司普票"),
	
	/**
	 * 4.专票
	 */
	UNACTIVE(4,"companySpecial","专票"),
	;
	
	private int id;
	private String code;
	private String describe;
	
	TaxTypeEnum(int id, String code, String describe){
		this.id = id;
		this.code = code;
		this.describe = describe;
	}

	@Override
	public int toInt() {
		return id;
	}

	@Override
	public String toCode() {
		return code;
	}

	@Override
	public String toDescribe() {
		return describe;
	}
}
